//package com.cn.springcloudapi.inter.wachat.articleAndMenu;
//
//
//import com.cn.springcloudapi.fallback.wachat.articleAndMenu.YmSubjectPackageApiFallback;
//import com.cn.springcloudwechat.common.ajax.AjaxRes;
//import com.cn.springcloudwechat.model.articleAndMenu.YmSubjectPackage;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import java.util.List;
//
//
//@FeignClient(value = "spring-cloud-route/route", fallback = YmSubjectPackageApiFallback.class, decode404 = true)
//public interface YmSubjectPackageApiService {
//
//    /**
//     * 添加一个专题包
//     *
//     * @param ymSubjectPackage 专题包对象
//     * @param articleIdList    专题包所属文章id
//     */
//    @RequestMapping(value = "/waChat/subjectPackage/insertYmSubjectPackageAndYmSubject")
//    AjaxRes insertYmSubjectPackageAndYmSubject(@RequestParam("ymSubjectPackage") YmSubjectPackage ymSubjectPackage, @RequestParam("articleIdList") List<Long> articleIdList);
//
//    /**
//     * 获取所有的专题包
//     *
//     * @return List<YmSubjectPackage>
//     */
//    @RequestMapping(value = "/waChat/subjectPackage/getAllYmSubjectPackage")
//    AjaxRes getAllYmSubjectPackage();
//
//    /**
//     * 根据专题包id获取某个专题包及文章数据
//     *
//     * @param subjectPackageId 专题包id
//     * @return YmSubjectPackage
//     */
//    @RequestMapping(value = "/waChat/subjectPackage/getYmSubjectPackageAndArticle")
//    AjaxRes getYmSubjectPackageAndArticle(Long subjectPackageId);
//
//    /**
//     * 更新专题包数据
//     *
//     * @param ymSubjectPackage 专题包对象
//     * @param articleIdList    专题包所属文章id
//     */
//    @RequestMapping(value = "/waChat/subjectPackage/updateYmSubjectPackage")
//    AjaxRes updateYmSubjectPackage(@RequestParam("ymSubjectPackage") YmSubjectPackage ymSubjectPackage, @RequestParam("articleIdList") List<Long> articleIdList);
//
//
//}
